<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>双向绑定</title>
</head>
<body>
    <div id="app">
        精通的语言：
             <input type="checkbox" v-model="language" value="Java"> Java
             <input type="checkbox" v-model="language" value="Php"> Php
             <input type="checkbox" v-model="language" value="Python"> Python
             <br>
        已选择：{{language.join(',')}}
    </div>
    <script src="../node_modules/vue/dist/vue.js"></script>
    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                language: []
            }
        });

    </script>
</body>
</html>